package c.e.b.m.l;

import java.util.Objects;

/* compiled from: AutoValue_PersistedInstallationEntry */
public final class a extends d {
    public final String b;
    public final c.e.b.m.l.c.a c;
    public final String d;
    public final String e;
    public final long f;
    public final long g;
    public final String h;

    /* compiled from: AutoValue_PersistedInstallationEntry */
    public static final class b extends c.e.b.m.l.d.a {
        public String a;
        public c.e.b.m.l.c.a b;
        public String c;
        public String d;
        public Long e;
        public Long f;
        public String g;

        public d a() {
            String str = this.b == null ? " registrationStatus" : "";
            if (this.e == null) {
                str = c.b.a.a.a.D(str, " expiresInSecs");
            }
            if (this.f == null) {
                str = c.b.a.a.a.D(str, " tokenCreationEpochInSecs");
            }
            if (str.isEmpty()) {
                return new a(this.a, this.b, this.c, this.d, this.e.longValue(), this.f.longValue(), this.g, null);
            }
            throw new IllegalStateException(c.b.a.a.a.D("Missing required properties:", str));
        }

        public c.e.b.m.l.d.a b(c.e.b.m.l.c.a aVar) {
            Objects.requireNonNull(aVar, "Null registrationStatus");
            this.b = aVar;
            return this;
        }

        public c.e.b.m.l.d.a c(long j) {
            this.e = Long.valueOf(j);
            return this;
        }

        public c.e.b.m.l.d.a d(long j) {
            this.f = Long.valueOf(j);
            return this;
        }

        public b(d dVar, a aVar) {
            a aVar2 = (a) dVar;
            this.a = aVar2.b;
            this.b = aVar2.c;
            this.c = aVar2.d;
            this.d = aVar2.e;
            this.e = Long.valueOf(aVar2.f);
            this.f = Long.valueOf(aVar2.g);
            this.g = aVar2.h;
        }
    }

    public a(String str, c.e.b.m.l.c.a aVar, String str2, String str3, long j, long j2, String str4, a aVar2) {
        this.b = str;
        this.c = aVar;
        this.d = str2;
        this.e = str3;
        this.f = j;
        this.g = j2;
        this.h = str4;
    }

    public String a() {
        return this.d;
    }

    public long b() {
        return this.f;
    }

    public String c() {
        return this.b;
    }

    public String d() {
        return this.h;
    }

    public String e() {
        return this.e;
    }

    public boolean equals(Object obj) {
        boolean z = true;
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof d)) {
            return false;
        }
        d dVar = (d) obj;
        String str = this.b;
        if (str != null ? !str.equals(dVar.c()) : dVar.c() != null) {
            if (this.c.equals(dVar.f())) {
                str = this.d;
                if (str != null ? !str.equals(dVar.a()) : dVar.a() != null) {
                    str = this.e;
                    if (str != null ? !str.equals(dVar.e()) : dVar.e() != null) {
                        if (this.f == dVar.b() && this.g == dVar.g()) {
                            str = this.h;
                            if (str != null) {
                            }
                        }
                    }
                }
            }
        }
        z = false;
        return z;
    }

    public c.e.b.m.l.c.a f() {
        return this.c;
    }

    public long g() {
        return this.g;
    }

    public int hashCode() {
        String str = this.b;
        int i = 0;
        int hashCode = ((((str == null ? 0 : str.hashCode()) ^ 1000003) * 1000003) ^ this.c.hashCode()) * 1000003;
        String str2 = this.d;
        hashCode = (hashCode ^ (str2 == null ? 0 : str2.hashCode())) * 1000003;
        str2 = this.e;
        hashCode = (hashCode ^ (str2 == null ? 0 : str2.hashCode())) * 1000003;
        long j = this.f;
        hashCode = (hashCode ^ ((int) (j ^ (j >>> 32)))) * 1000003;
        j = this.g;
        hashCode = (hashCode ^ ((int) (j ^ (j >>> 32)))) * 1000003;
        String str3 = this.h;
        if (str3 != null) {
            i = str3.hashCode();
        }
        return hashCode ^ i;
    }

    public c.e.b.m.l.d.a j() {
        return new b(this, null);
    }

    public String toString() {
        StringBuilder g = c.b.a.a.a.g("PersistedInstallationEntry{firebaseInstallationId=");
        g.append(this.b);
        g.append(", registrationStatus=");
        g.append(this.c);
        g.append(", authToken=");
        g.append(this.d);
        g.append(", refreshToken=");
        g.append(this.e);
        g.append(", expiresInSecs=");
        g.append(this.f);
        g.append(", tokenCreationEpochInSecs=");
        g.append(this.g);
        g.append(", fisError=");
        return c.b.a.a.a.d(g, this.h, "}");
    }
}
